package com.diy.common.bussiness.service.defaultService;

import com.diy.common.baseModel.BaseDiyBean;
import com.diy.common.baseModel.BaseDiyQueryParamsBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created  on 2015/11/30.
 * SpringDiy
 */
@Service
public class DefaultSingleSaveable<T extends BaseDiyBean,P extends BaseDiyQueryParamsBean> extends DefaultSaveable<T,P> {

    //默认修改
    //默认创建
    //默认删除
    //默认取单条
    @Autowired
    public DefaultSingleSaveable(Savable<T, P> defaultChangeServiceImpl,
                                 Savable<T, P> defaultCreateServiceImpl,
                                 Savable<T, P> defaultDeleteServiceImpl,
                                 Savable<T, P> defaultSelectServiceImpl) {
        super(defaultChangeServiceImpl, defaultCreateServiceImpl, defaultDeleteServiceImpl, defaultSelectServiceImpl);
    }
}
